﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EzDesk.DevHelper.CheckBuildVersion
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            refreshBuildVersion();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            refreshBuildVersion();
        }

        private void refreshBuildVersion()
        {
            DateTime startDay = new DateTime(2010,1,1);
            var theDayCount = (DateTime.Now - startDay).Days;
            var dayString = theDayCount.ToString();
            label1.Text = dayString;
        }
    }
}
